home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000167_arthur.marsh@adelaide.edu.au_Tue May 22 10:49:18 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  53 lines

  1. Article: 12464 of comp.protocols.kermit.misc
  2. Message-ID: <3B09F5B7.A623B8AF@adelaide.edu.au>
  3. Date: Tue, 22 May 2001 14:44:31 +0930
  4. From: Arthur Marsh <arthur.marsh@adelaide.edu.au>
  5. Organization: The University of Adelaide
  6. X-Mailer: Mozilla 4.5 [en]C-CCK-MCD   (WinNT; I)
  7. X-Accept-Language: en,pdf
  8. MIME-Version: 1.0
  9. Newsgroups: comp.protocols.kermit.misc
  10. Subject: Re: testing a TCP port and logging response
  11. References: <3B09E25B.8117DD48@adelaide.edu.au> <9ecogf$3jb$1@newsmaster.cc.columbia.edu>
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. NNTP-Posting-Host: arthur.its.adelaide.edu.au
  15. X-Trace: 22 May 2001 14:44:31 +0950, arthur.its.adelaide.edu.au
  16. Lines: 33
  17. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!news.verio.net!nntp.frontiernet.net!nntp.gblx.net!europa.netcrusader.net!204.71.34.3!newsfeed.cwix.com!news1.optus.net.au!optus!yorrell.saard.net!hakea.services.adelaide.edu.au!arthur.its.adelaide.edu.au
  18. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12464
  19.  
  20. Hi, thanks for the quick response. kermit -h didn't suggest the -C
  21. option.
  22.  
  23. If the SET HOST command times out, one would get an error indication
  24. eventually, but if one was wanting to get a success/failure indication a
  25. few seconds after the SET HOST was issued, could C-Kermit provide the
  26. means to do this? The purpose of this is to check for a TCP service that
  27. has "hung" and provide the means to quickly take fail-over action.
  28.  
  29. Regards,
  30.  
  31. Arthur.
  32.  
  33. Jeffrey Altman wrote:
  34.  
  35. > : How would one set C-Kermit to test a TCP port, (waiting only a few
  36. > : seconds for a response and not a long timeout), return a success/failure
  37. > : status to the calling shell, and save any response from the connection
  38. > : attempt to a file?
  39. > If you want to do this on the command line
  40. >   kermit -C "set host localhost 99, if failure exit 1, close, exit 0"
  41. >  Jeffrey Altman * Sr.Software Designer      C-Kermit 7.1 Alpha available
  42. >  The Kermit Project @ Columbia University   includes Secure Telnet and FTP
  43. >  http://www.kermit-project.org/             using Kerberos, SRP, and
  44. >  kermit-support@kermit-project.org          OpenSSL.  SSH soon to follow.
  45.  
  46. -- 
  47. Arthur Marsh, Network Support Officer, Information Technology Services
  48. The University of Adelaide SA 5005 Australia
  49. Ph: +61 8 8303 6109, Mobile: +61 414 260 077
  50.